package com.nanhai.buddhist.college.module.collegebase.convert.studentrewardpunish;


import com.nanhai.buddhist.college.framework.common.pojo.PageResult;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentrewardpunish.vo.StudentRewardPunishCreateReqVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentrewardpunish.vo.StudentRewardPunishExcelVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentrewardpunish.vo.StudentRewardPunishRespVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentrewardpunish.vo.StudentRewardPunishUpdateReqVO;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.studentrewardpunish.StudentRewardPunishDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 奖励惩罚表 Convert
 *
 * @author AKai
 */
@Mapper
public interface StudentRewardPunishConvert {

    StudentRewardPunishConvert INSTANCE = Mappers.getMapper(StudentRewardPunishConvert.class);

    StudentRewardPunishDO convert(StudentRewardPunishCreateReqVO bean);

    StudentRewardPunishDO convert(StudentRewardPunishUpdateReqVO bean);

    StudentRewardPunishRespVO convert(StudentRewardPunishDO bean);

    List<StudentRewardPunishRespVO> convertList(List<StudentRewardPunishDO> list);

    PageResult<StudentRewardPunishRespVO> convertPage(PageResult<StudentRewardPunishDO> page);

    List<StudentRewardPunishExcelVO> convertList02(List<StudentRewardPunishDO> list);

}
